import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '../views/Login.vue'
import My from '../views/My.vue'
import Team from '../views/Team.vue'
import Invite from '../views/Invite.vue'
import Process from '../views/Process.vue'
Vue.use(VueRouter)

  const routes = [
  {
    path:'/',
    name:'Login',
    component:Login
  },
  {
    path:'/my',
    name:'My',
    component:My,

  },
  {
    path:'/team',
    name:'Team',
    component:Team
  },
  {
    path:'/invite',
    name:'Invite',
    component:Invite
  },
  {
    path:'/process',
    name:'process',
    component:Process
  }
  

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
